package com.zhihuishu.micro.course.dto;

import java.io.Serializable;


/**
 * 课程分类信息
 * @author	zhanglikun
 * @date	2015年9月21日 下午4:45:44
 */
public class CategoryDto implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private Integer categoryId ;	// 分类ID
	private Integer parentId ;		// 父ID(一级分类，父级字段取值为：0)
	private String content ;		// 分类内容
	private int level ;				// 分类级别

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

    @Override
    public String toString() {
        return "CategoryDto [categoryId=" + categoryId + ", parentId=" + parentId + ", content=" + content
                + ", level=" + level + "]";
    }
	
	
}
